package com.wms.service.impl;

import com.wms.entity.QuickArrivalMaterial;
import com.wms.mapper.QuickArrivalMaterialMapper;
import com.wms.param.MaterialConditionParam;
import com.wms.service.QuickArrivalMaterialService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class QuickArrivalMaterialServiceImpl implements QuickArrivalMaterialService {
    @Autowired
    QuickArrivalMaterialMapper quickArrivalMaterialMapper;
    @Override
    public List<QuickArrivalMaterial> getAll() {
        return quickArrivalMaterialMapper.selectAll();
    }

    @Override
    public List<QuickArrivalMaterial> getByCondition(MaterialConditionParam materialConditionParam) {
        return quickArrivalMaterialMapper.selectByCondition(materialConditionParam);
    }

}
